#ifndef _NE_EXCEPTION_H_
#define _NE_EXCEPTION_H_

#include <neinit.h>

namespace ne
{
    class Exception : public std::exception
    {
        public:
            Exception() throw()
                : std::exception()
            {
            }

            Exception(const exception &e) throw()
                : std::exception(e)
            {
            }

            Exception& operator = (const Exception &e) throw()
            {
                std::exception::operator = (e);
                return *this;
            }

            virtual ~Exception() throw()
            {
            }

            virtual const char* what() const throw()
            {
                return "NE_EXCEPTION";
            }
    };    
}

#endif
